part of '../repository.dart';

const _kPurchasedItemTransactionTypeKey = 'type';
const _kPurchasedItemTransactionPurchaseItemSkuKey = 'purchase_item_sku';
const _kPurchasedItemTransactionOrderIdKey = 'order_id';
const _kPurchasedItemTransactionPurchaseTokenKey = 'purchase_token';
const _kPurchasedItemTransactionGooglePlayUserIdKey = 'google_play_user_id';
const _kPurchasedItemTransactionTestKey = 'test';
const _kPurchasedItemTransactionTimeKey = 'time';
const _kPurchasedItemTransactionRevocationInfoKey = 'revocation_info';

abstract class _PurchasedItemTransactionDto {
  String get type;

  String get orderId;

  String get googlePlayUserId;

  String get purchaseToken;

  String get purchaseItemSku;

  bool get test;

  _TimeDto get timeDto;

  _TransactionRevocationInfoDto? get revocationInfoDto;

  Map<String, dynamic> toJson();

  GooglePlayTransaction toEntity();
}
